package com.chen.wow;

import java.text.ParseException;
import java.util.Date;

import org.springframework.util.StringUtils;


public class Test {

	public static void main(String[] args) throws ParseException {
		
		long n = DateUtil.dateToLong(new Date(),"yyyyMMddHHmmss");
		Date dd = new Date(n);
		System.out.println("dd=" + dd );
		
		Date date = new Date();
		date.setTime(1495598328000L);
		System.out.println(date);
		
		System.out.println(StringUtils.hasText(" 12345 "));
	}

}
